package study.javaee.practice.result;

    public enum JpaResultCode {
        SUCCESS(200),
        FAIL(400),
        UNAUTHORIZED(401),
        NOT_FOUND(404),
        INTERNAL_SERVER_ERROR(500);

        public int code;

        JpaResultCode(int code) {
            this.code = code;
        }
    }

